Skip to main content

07 Relay

Module Introduction

image.png

  1. Jacdac Edge Connector

  2. Jacdac Communication Indicator

  3. Relay

  4. Terminal Block

  5. Product QR Code

  6. Jacdac Standard Through Hole

Components used

  • 1x MicroUSB Cable
  • 1x MicrobitV2
  • 1x Jacdaptor
  • 1x Cable
  • 1x Relay

Connection

PC-〉MicroUSB -〉MicrobitV2-〉Jacdaptor-〉Cable--〉Relay

image-20230908121321973

Coding Platform

Microsoft MakeCode for micro:bit (microbit.org)

Create a new project

jacdac05.png

Establish a connection

webUSB.png

Extensions——Jacdac

jacdac扩展.png

Add Jacdac Relay Block

image.png

Program and download

image.png

The Result

Press A to switch on the relay

image.png

Press B to switch off the relay

image.png

Notice

  • Please use with caution when using the Relay module, as the Relay module is a high-power module
  • The maximum external voltage of the Relay is 5V
  • The maximum external current of the Relay is 1A